MobileAppForWooCommerce\Controllers\Visibility S

Total Complexity 40
Dependencies 1
Dependents 0
Total lines 322
Lines of code 194
Logical lines of code 80
Comment lines 23
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
hide_shopapper_products()
S
56 5 18
after_add_attribute_fields()
S
59 4 15
add_category_form_fields()
S
60 4 13
product_data_panels()
S
51 2 31
woocommerce_add_to_cart_validation()
S
63 4 9
wc_lottery_generate_random_ticket_numbers()
S
63 4 9
woocommerce_after_checkout_validation()
S
62 4 10
save_category_form_fields()
S
63 3 10
__construct()
S
52 1 23
add_custom_variation_field()
S
58 1 16
rest_prepare_product_object()
S
63 2 9
save_custom_variation_field()
S
74 1 4
rest_prepare_product_cat()
S
70 1 5
admin_enqueue_scripts()
S
79 1 3
process_product_meta()
S
68 1 7
product_data_tabs()
S
65 1 9
attribute_updated()
S
77 1 3